<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="../css/reset.css">
    <style>
        .box {
            width: 500px;
            height: 500px;
            background-color: #ddd;
            position: relative;
        }

        input {
            display: none;
        }

        .box li {
            float: left;
        }

        .box label img {
            width: 100px;
            height: 100px;
            margin: 10px;
        }


        .hide {
            width: 500px;
            height: 300px;
            background-color: #ff0;
            text-align: center;
            line-height: 300px;

            position: absolute;
            bottom: 0;
            left: 0;

            visibility: hidden;
        }

        .hide img {
            width: 500px;
            height: 300px;
        }

        .box input:checked~.hide {
            visibility: visible;
        }
    </style>
</head>

<body>
    <br><br><br><br><br> <br><br><br><br><br><br><br><br><br><br>
    <div class="box">
        <ul>
            <li>
                <input type="radio" name="s" id="s1">
                <label for="s1">
                    <img src="https://img30.360buyimg.com/seckillcms/s280x280_jfs/t1/8636/11/20179/21603/63493654Ed953b2c0/239e99884f24b7aa.jpg.avif"
                        alt="">
                </label>
                <div class="hide">
                    <img src="https://img30.360buyimg.com/seckillcms/s280x280_jfs/t1/8636/11/20179/21603/63493654Ed953b2c0/239e99884f24b7aa.jpg.avif"
                        alt="">
                </div>
            </li>
            <li>
                <input type="radio" name="s" id="s2">
                <label for="s2">
                    <img src="https://img11.360buyimg.com/seckillcms/s280x280_jfs/t1/115903/33/30349/99282/63490940E0e379f01/a256168930fcf927.jpg.avif"
                        alt="">
                </label>
                <div class="hide">
                    <img src="https://img11.360buyimg.com/seckillcms/s280x280_jfs/t1/115903/33/30349/99282/63490940E0e379f01/a256168930fcf927.jpg.avif"
                        alt="">
                </div>
            </li>
            <li>
                <input type="radio" name="s" id="s3">
                <label for="s3">
                    <img src="https://img13.360buyimg.com/seckillcms/s280x280_jfs/t1/158980/1/30959/37141/6348b822E6e1985d0/0f1f4a89362a03c4.jpg.avif"
                        alt="">
                </label>
                <div class="hide">
                    <img src="https://img13.360buyimg.com/seckillcms/s280x280_jfs/t1/158980/1/30959/37141/6348b822E6e1985d0/0f1f4a89362a03c4.jpg.avif"
                        alt="">
                </div>
            </li>
        </ul>
    </div>
</body>

</html>